import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import HeaderBar from './components/uni-header/uni-header'
import workHeaderBar from './components/uni-header/work-header'
import uniEditor from './components/uin-editor/uin-editor'
// 引入全局 uview 框架
import uView from '@/uview-ui'
Vue.use(plugins)
Vue.component('uni-header',HeaderBar)
Vue.component('work-header',workHeaderBar)
Vue.component('uniEditor',uniEditor)

Vue.use(uView)

Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
  ...App
})

app.$mount()
